
ac.skill('火舌炙烤'){
    temp = '攻击触发',
    odds = 15,
    model1 = [[274.mdl]],
    on_run = function(self,hero,target)
        local point1 = hero:get_point()
        local point2 = target:get_point()
        local angle = point1 / point2
        local damage = self:dmg_get()
        for a=1,3 do
            local angle = angle + (a+0.5)*120
            local point3 = point2 - {angle,400}
            local lock = {}
            local effect = hero:create_shadow(point3,angle + 180,3)
            effect:set_model('hero_15.mdl')
            effect:play_animation('spell 2')
            ac.wait(200,function()
                point3:effect{
                    hide_when_remove = true,
                    model = self.model1,
                    angle = angle + 180,
                    size = 0.4,
                    height = 100,
                    time = 2.8,
                }
            end)
            ac.timer(300,5,function()
                hero:line_damage(point3,angle+180,500,100,damage,self,function(unit)
                    if lock[unit.handle] and (lock[unit.handle]-ac.clock()>0) then
                        return true
                    end
                    lock[unit.handle] = ac.clock() + 500
                end)
            end)
        end
    end,
}